<form action="${ctx}/workform/handle" method="post" id="handle" enctype="multipart/form-data">
	<input type="hidden" name="workFormId" value="${workFormId!}" />
	<input type="hidden" name="lastRecordId" value="${lastRecordId!}" />
	<input type="hidden" name="userType" value="${userType}" />
	
	<div class="form-group form-inline row" >
		<label class="input_text">标题：</label>
		<input class="form-control" type="text" name="workName" value="${workName!}" readonly="readonly" />
	</div>
	
	<#if currentDealTag != 8>
		<div class="form-group form-inline row" >
			<label class="input_text"><span style="color: red">* </span>接收人：</label>
			<#include "./include/receiver.htm">
		</div>
		<div class="form-group form-inline row">
			<label class="input_text">参与人：</label>
			<select class="form-control select2" multiple="multiple" data-placeholder="选择参与人" style="width: 600px;"  name="participants">
				<option value="">请选择</option>
				<#list participants as p>
					<option value="${p.id}">${p.nickName}</option>
				</#list>
			</select>
		</div> 
	</#if>
	
	<div class="form-group form-inline row">
		<label class="input_text">备注：</label>
		<textarea class="form-control" rows="3" name="remark" style="width:600px" maxlength="1000"></textarea>
	</div>
	
	<div class="form-group form-inline row">
		<label for="exampleInputFile" class="input_text">附件：</label>
		<input type="file" name="fileupload" style="display: inline-block;" fileMaxSize="1024 * 1024 * 60" multiple="multiple"
			accept=".jpg,.jpeg,.png,.txt,.doc,.docx,.xls,.xlsx,.wav,.zip,.rar"
		/>
	</div>
</form>

<script type="text/javascript">
  	$("#handle").validate();

	$.fn.modal.Constructor.prototype.enforceFocus = function() {};
	$('.select2').select2();

</script>
